package com.zunipe.trainticketsystem.database.entity;

public class User {
    private Integer id;
    private String username;
    private String phone;

    public User() {
    }

    public User(String username, String phone) {
        this.username = username;
        this.phone = phone;
    }

    public User(Integer id, String username, String phone) {
        this.id = id;
        this.username = username;
        this.phone = phone;
    }

    public Integer getId() {
        return id;
    }

    public User setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public User setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getPhone() {
        return phone;
    }

    public User setPhone(String phone) {
        this.phone = phone;
        return this;
    }
}
